// src/main/java/com/xxxy/ljh/myapplication/Dao/ItemDao.java
package com.xxxy.ljh.myapplication.Dao;

import com.xxxy.ljh.myapplication.model.Item;
import java.util.List;

public interface ItemDao {
    long addItem(Item item);
    Item getItemById(int itemId);
    List<Item> getItemsByAssociationId(int associationId);
    boolean updateItem(Item item);
    boolean deleteItem(int itemId);
    List<Item> getAllItems();
    boolean updateItemQuantity(int itemId, int quantity, int availableQuantity);
}
